using UnityEngine;
using System.Collections;

public class StartScript: MonoBehaviour {
	
//	private static StartScript instance = null;
//	
//	/// <summary>
//	/// Gets the instance.
//	/// </summary>
//	/// <value>
//	/// The instance.
//	/// </value>
//	public static StartScript Instance {
//		get{
//			return instance;
//		}
//	}
		
	void Awake(){
//		instance = this;
		Globals.Instance.Init();
		DontDestroyOnLoad(this);
	}

	// Use this for initialization
	void Start () {
		
		/*
		Debug.Log("Begin " + Utils.CurrTimeStamp());
		float v = 0;
		for(int i = 0;i < 1000;i++){
			v = Utils.ParseArithmeticExp("1+1/21+33*(657+22)");		
		}
		Debug.Log("End " + Utils.CurrTimeStamp() + " value " + v);
		*/	
		Globals.Instance.MSceneLoadManager.ChangeScene("TestLevel");
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
